<?php
$tittle = $_POST["tittle"];
$content = $_POST["content"];
$price = $_POST["price"];
$num = $_POST["num"];
$img_url = $_POST["img_url"];
include "./mysql.php";
$sql = "update t_infor set num = '{$num}' where article_id = 1";
$result = $mysqli->query($sql);
?>




<!-- update t_infor set num = '{$num}' where article_id = 1 -->
<!-- $sql ="INSERT INTO t_infor (article_id,content,tittle,price,num,img_url) values ('1','{$content}','{$tittle}','{$price}','{$num}','{$img_url}')"; -->